<!--<?php
# MetInfo Enterprise Content Management System 
# Copyright (C) MetInfo Co.,Ltd (http://www.metinfo.cn). All rights reserved. 
require_once template('head');
echo <<<EOT
-->
<title>{$lang_memberManage}</title>
</head>
<body>
<table cellpadding="2" cellspacing="1" border="0" width="95%" class="table_list1">
          <tr> 
            <td colspan="7" align="center" class="list1_title">{$lang_memberManage}</td>
          </tr>
          <tr>
            <td class="list1_input" height="20" colspan="2"><a href="add.php?lang=$lang">{$lang_memberAdd}</a></td>
			<td class="list1_input" height="20" colspan="3"><a href="index.php?searchall=all&lang=$lang"><font color="red">{$lang_memberall}</font></a></td>
            <td align="right" colspan="2" class="list1_input">
			<div style="text-align:right">		
			<form method="POST" name="myform" action="index.php?search=detail_search&lang=$lang&searchall=$searchall" target="_self">
			<span><b>{$lang_memberType}:</b></span>
			<select name="usertype" id="usertype" onChange="autosubmit()">
			<option value="" $user0>{$lang_memberSelectType}</option>
			 <option value="1" $user1>{$lang_access1}</option>
              <option value="2" $user2>{$lang_access2}</option>
            </select></form></div></td>
          </tr>
              <tr>
                <td width="5%" class="list1_top" align="center">{$lang_selected}</td>
                <td width="16%" class="list1_top" align="center">{$lang_memberUserName}</td>
                <td width="10%" class="list1_top" align="center" >{$lang_memberType}</td>
                <td width="6%" class="list1_top" align="center" >{$lang_memberActive}</td>
                <td width="8%" class="list1_top" align="center" >{$lang_memberNum}</td>
				<td width="17%" class="list1_top" align="center" >{$lang_memberLastLogin}</td>
				<td width="37%" class="list1_top" align="center" >{$lang_operate}</td>
              </tr>
			  <form name="del" method="Post" action="delete.php?lang=$lang" onSubmit="return ConfirmDelall();">
<!--
EOT;
foreach ($admin_list as $key=>$val){
echo <<<EOT
-->          
              <tr>
              <td align="center" class="list1_content_titile"><input name='id' type='checkbox' onClick="unselectall()" id="id" value='$val[id]' class="xz"></td>
                <td align="center" class="list1_content"><a href="detail.php?id=$val[id]&lang=$lang" title="{$lang_detail}">$val[admin_id]</a></td>
                <td class="list1_content" align="center">$val[usertype]</td>
                <td class="list1_content" align="center">$val[checked]</td>
                <td align="center" class="list1_content">$val[admin_login]</td>
				<td class="list1_content" align="center" >$val[admin_modify_date] </td>
				<td align="center" class="list1_content" style="color:#0066FF;"><a href="detail.php?id=$val[id]&lang=$lang" >{$lang_memberDetail}</a> | <a href="editor.php?id=$val[id]&lang=$lang" >{$lang_editor}</a> | <a href="../message/index.php?search=detail_search&customerid=$val[admin_id]&lang=$lang" >{$lang_memberMessage}</a> | <a href="../feedback/index.php?search=detail_search&customerid=$val[admin_id]&lang=$lang" >{$lang_memberFD}</a> | <a href="../job/cv.php?search=detail_search&customerid=$val[admin_id]&lang=$lang" >{$lang_memberCV}</a> | <a href="delete.php?id=$val[id]&lang=$lang" onClick="return ConfirmDel();" >{$lang_delete}</a></td>
              </tr>
<!--
EOT;
}
echo <<<EOT
-->
   	   <tr> 
            <td class="input_bottom" align="center"><input name="chkAll" class="xz" type="checkbox" id="chkAll" onclick=CheckAll(this.form) value="checkbox"></td>
             <td class="input_bottom" align="center">{$lang_selectall}</td>
			 <td colspan="7" class="input_bottom" align="left"><input name="submit" type='submit' value='{$lang_deleteselected}' style="*padding-top:2px; *height:22px;"> 
              <input name="action" type="hidden" id="action" value="del">
			  <input name="allid" type="hidden" id="allid" value=""></form></td>
       </tr>
	   <tr>
            <td align="left" colspan="5" class="list1_input">
			<form method="POST" name="search" action="index.php?search=detail_search&lang=$lang" target="_self">
			<span><b>{$lang_memberSearch}</b></span>&nbsp;<input name="admin_id" type="text" size="6">
			<input type="submit" name="Submit2" value="{$lang_search}" class="tj">&nbsp;</form></td>
          </tr>
   	   <tr>
   	     <td class="list1_input" colspan="7" align="center">$page_list</td>
        </tr>
		 <tr>
		  <td class="list1_footer" colspan="7" align="center">$foot</td>
	  </tr>
</table>
<script type='text/javascript'>
	function autosubmit()
	{
		document.myform.submit();
	}
</script>
</body>
</html>
<!--
EOT;
# This program is an open source system, commercial use, please consciously to purchase commercial license.
# Copyright (C) MetInfo Co., Ltd. (http://www.metinfo.cn). All rights reserved.
?>-->